export default function(pre,action){
    let {type,data} = action;
    switch(type){
        case "login":
            return data;
        case "out":
            return "注册登录";
        default :
            return "注册登录";
    }
}